<?php
namespace ZfcUser\Model;

class Tstudentandmentor
{	
	public $id;
	public $student_id;
	public $mentor_id;
	public $status;
	public $first_name;
	public $mobile;
	public $email_id;
	public $name;
	public function exchangeArray($data)
	{
		$this->id     		= (isset($data['id']))     		? $data['id']     		: null;
		$this->student_id   = (isset($data['student_id']))  ? $data['student_id']   : null;
        $this->mentor_id   	= (isset($data['mentor_id'])) 	? $data['mentor_id'] 	: null;
		$this->status   	= (isset($data['status'])) 		? $data['status'] 	    : null;
		$this->first_name   = (isset($data['first_name'])) 	? $data['first_name'] 	: null;
		$this->mobile   	= (isset($data['mobile'])) 		? $data['mobile'] 	    : null;
		$this->email_id   	= (isset($data['email_id'])) 	? $data['email_id'] 	: null;
		$this->name   		= (isset($data['name'])) 		? $data['name'] 	    : null;
	}
	// Add the following method:
	public function getArrayCopy()
	{
		return get_object_vars($this);
	}

}